package com.ivifi.shirodemo.dto;

import java.io.Serializable;
import java.util.List;

public class Role implements Serializable{

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -4735730244264037501L;
	String id; // 角色编号
	String roleStr;// 角色字符串
	String description;// 角色描述
	List<Resource> resources;// 资源
	String available;// 角色是否可用，0 可用，1不可用
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getRoleStr() {
		return roleStr;
	}
	public void setRoleStr(String roleStr) {
		this.roleStr = roleStr;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public List<Resource> getResources() {
		return resources;
	}
	public void setResources(List<Resource> resources) {
		this.resources = resources;
	}
	public String getAvailable() {
		return available;
	}
	public void setAvailable(String available) {
		this.available = available;
	}

}
